import type { RouteRecordRaw } from "vue-router"
import { homeRoutes } from "./homeRoutes"
import { userRoutes } from "./userRoutes"
import { adminRoutes } from "./adminRoutes"
import { appRoutes } from "./appRoutes"

var routes: Array<RouteRecordRaw> = []

// 把所有路由分散在各个文件中, 这里合并
routes = routes.concat(
  homeRoutes,
  userRoutes,
  appRoutes,
  adminRoutes,
)

export default routes